package com.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.demo.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author Ymj
 * @since 2020-11-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("用户登录信息")
public class User extends BaseEntity {

    @TableField(value = "u_username")
    @ApiModelProperty("用户名")
    private String username;//用户名等于学号/工号
    @TableField(value = "u_password")
    @ApiModelProperty("密码")
    private String password = "123456";//默认密码123456



}
